export function navIndex(url, that) {
  switch (url) {
    case '/index/home':
      that.defaultActive = '1'
      break;
    case '/index/commitment':
      that.defaultActive = '2'
      break;
    case '/index/authorInformation':
      that.defaultActive = '3'
      break;
    case '/index/measurement':
      that.defaultActive = '4'
      break;
    case '/index/researchProject':
      that.defaultActive = '5-1'
      break;
    case '/index/PersonalStatement':
      that.defaultActive = '5-2'
      break;
    case '/index/tutors':
      that.defaultActive = '5-3'
      break;
    case '/index/StudyResult':
      that.defaultActive = '5-4'
      break;
    case '/index/expert':
      that.defaultActive = '5-5'
      break;
    case '/index/PrintDeclaration':
      that.defaultActive = '6'
      break;
    case '/index/UploadDeclaration':
      that.defaultActive = '7'
      break;
    case '/index/shenhe':
      that.defaultActive = '8'
      break;
    case '/index/pingshen':
      that.defaultActive = '9'
      break;
    case '/index/xiangmuchaxun':
      that.defaultActive = '10'
      break;
    case '/index/xiangmudaochu':
      that.defaultActive = '11'
    case '/index/cns':
      that.defaultActive = '12'
      break;
    case '/index/account':
      that.defaultActive = '13'
      break;
    case '/index/export':
      that.defaultActive = '14'
      break;
      
    default:
      break;
  }
}